package com.ch.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ch.web.entity.XyScEntity;
import com.ch.web.utils.PageUtils;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 
 *
 * @author chenHao
 * @email 1429542285@qq.com
 * @date 2022-10-20 14:14:44
 */
public interface XyScService extends IService<XyScEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Boolean getIsSc(Long talkId, Long currentUserId);

    boolean scTalk(XyScEntity xyScEntity, HttpServletRequest request);

    boolean cancelScTalk(XyScEntity xyScEntity, HttpServletRequest request);
}

